package ModelLayer;

public class Product {
	
	
	private String name;
	private double purchasePrice;
	private double salesPrice;
	private double rentPrice;
	private String countyOfOrigin;
	private int minStock;
	private int currentStock;
	private int stockNumber;
	private String id;
	
	
	
	public	Product(){}
	public Product(String string) {
        this.id = string;}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public double getSalesPrice() {
		return salesPrice;
	}
	public void setSalesPrice(double salesPrice) {
		this.salesPrice = salesPrice;
	}
	public double getRentPrice() {
		return rentPrice;
	}
	public void setRentPrice(double rentPrice) {
		this.rentPrice = rentPrice;
	}
	public String getCountyOfOrigin() {
		return countyOfOrigin;
	}
	public void setCountyOfOrigin(String countyOfOrigin) {
		this.countyOfOrigin = countyOfOrigin;
	}
	public int getMinStock() {
		return minStock;
	}
	public void setMinStock(int minStock) {
		this.minStock = minStock;
	}
	public int getCurrentStock() {
		return currentStock;
	}
	public void setCurrentStock(int currentStock) {
		this.currentStock = currentStock;
	}
	public int getStockNumber() {
		return stockNumber;
	}
	public void setStockNumber(int stockNumber) {
		this.stockNumber = stockNumber;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Override
	public String toString()
	{
		return name +" " + id +" " + salesPrice;	}
	
	
	

}
